package com.zan.zanchat.common.common.thread;

import lombok.extern.slf4j.Slf4j;

/**
 * @Author Zan
 * @Create 2024/3/12 13:38
 * @Description :
 */
@Slf4j
public class MyUncaughtExceptionHandler implements Thread.UncaughtExceptionHandler {
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        log.error("Exception in thread", e);
    }
}
